{% extends 'vcs/base.html' %}

{% block title %}Repository: {{ c.repository }}{% endblock %}

{% block breadcrumbs %}
<li><a href="/vcs/">repositories</a> &raquo;</li>
<li class="repository"><a href="{{ c.repository.get_absolute_url }}">{{ c.repository }}</a> &raquo;</li>
<li>branches &raquo;</li>
<li>
{% for b in c.branches.all %}
<a href="{{ b.get_absolute_url }}">{{ b }}</a>{% if not forloop.last %},{% endif %}
{% endfor %}
&raquo;
</li>
<li>commits &raquo;</li>
<li class="current">{{ c }}</li>
{% endblock %}

{% block content %}

<h2>File Modifications</h2>
{% if c.files.count %}
<ul>
    {% for f in c.files.all %}
    <li><b>{{ f.modification_type }}</b> <a href="{{ f.get_absolute_url }}">{{ f }}</a>
    </li>
    {% endfor %}
</ul>
{% endif %}

{% endblock %}
